
// 共有属性
export const require = ({
    type,
    url,
    data,

}) => {
    
    return new Promise(resolve => {

        $.ajax({
            type,
            url,
            data,

            success: resolve
        })
    })
}